package com.example.qxfw.ybzz.service.impl;

import com.example.qxfw.common.entity.zy.TrafficWeatherSta;
import com.example.qxfw.ybzz.mapper.TrafficWeatherStaMapper;
import com.example.qxfw.ybzz.service.TrafficWeatherStaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TrafficWeatherStaServiceImpl implements TrafficWeatherStaService {

    @Autowired
    private TrafficWeatherStaMapper trafficWeatherStaMapper;

    @Override
    public List<TrafficWeatherSta> getList() {
        List<TrafficWeatherSta> trafficWeatherStas = trafficWeatherStaMapper.selectStation();
        return trafficWeatherStas;
    }
}
